<%--
  Created by IntelliJ IDEA.
  User: lt
  Date: 2017/5/9
  Time: 14:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>

    <title>支付方式</title>
    <%@ include file="/common/include-core.jsp" %>
</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 订单管理 <span class="c-gray en">&gt;</span> 支付方式 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>

<div class="page-container">
    <table class="table table-border table-bordered table-hover table-bg">
        <thead>
        <tr>
            <th scope="col" colspan="10">支付方式列表</th>
        </tr>
        <tr class="text-c">
            <th width="15">序号</th>
            <th width="30">订单ID</th>
            <th width="30">价格</th>
            <th width="40">类型</th>
            <th width="15">支付方式</th>
            <th width="15">外部订单号</th>
            <th width="15">订单状态</th>
            <th width="15">创建时间</th>
        </tr>
        </thead>
        <tbody>
            <c:forEach items="${paymentlist}" var="item" varStatus="index">
                <tr class="text-c">
                    <td>${index.index+1}</td>
                    <td>${item.orderId}</td>
                    <td><fmt:formatNumber value="${item.price/100}" type="currency"/></td>
                    <td class="td-status">
                        <c:if test="${item.payType==1}"><span class="label label-defaunt radius">支付</span></c:if>
                        <c:if test="${item.payType==2}"><span class="label label-success radius">退款</span></c:if>
                    </td>
                    <td class="td-status">
                        <c:if test="${item.payMode==1}"><span class="label label-success radius">卡劵</span></c:if>
                        <c:if test="${item.payMode==2}"><span class="label label-success radius">网站网银</span></c:if>
                        <c:if test="${item.payMode==3}"><span class="label label-success radius">网站支付宝</span></c:if>
                        <c:if test="${item.payMode==4}"><span class="label label-success radius">网站微信</span></c:if>
                        <c:if test="${item.payMode==5}"><span class="label label-success radius">余额</span></c:if>
                        <c:if test="${item.payMode==6}"><span class="label label-success radius">wap微信</span></c:if>
                        <c:if test="${item.payMode==7}"><span class="label label-success radius">wap支付宝</span></c:if>
                        <c:if test="${item.payMode==8}"><span class="label label-success radius">活动优惠</span></c:if>
                        <c:if test="${item.payMode==9}"><span class="label label-success radius">集团支付（七星瓢虫）</span></c:if>
                    </td>
                    <td>${item.extOrderId}</td>
                    <td class="td-status">
                        <c:if test="${item.status==1}"><span class="label label-defaunt radius">未支付</span></c:if>
                        <c:if test="${item.status==2}"><span class="label label-success radius">已支付</span></c:if>
                    </td>
                    <td><fmt:formatDate value="${item.createTime}" pattern="yyyy-MM-dd HH:mm" /></td>

                </tr>
            </c:forEach>
        </tbody>
    </table>
</div>

</body>
</html>